Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(namespace): prevents the client from repeatedly connecting to the namespace #1013

Merged
merged 1 commit into from
Oct 31, 2024

Conversation

bigtian99
Copy link
Contributor

  • Add a check to the onConnect method to prevent clients from joining the same namespace twice
  • Optimized namespace connection logic to improve system stability

- 在 onConnect 方法中添加检查,防止客户端重复加入同一个命名空间
- 优化了命名空间连接逻辑,提高了系统稳定性
@mrniko mrniko added the bug label Oct 31, 2024
@mrniko mrniko added this to the 2.0.12 milestone Oct 31, 2024
@mrniko mrniko merged commit 0e26a4d into mrniko:master Oct 31, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants